const Mock = require('mockjs');
const Random = Mock.Random;
module.exports = () => {
    let data = {article : []};
    for(let i = 0; i < 30; i++)
    {
        data.article.push({
            id:i,
            title:Random.cword(10,20),
            content:Random.cword(1200)
        });
    }
    return data;
}